<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<h:form>
	<h:panelGrid columns="2" columnClasses="labelText, normalText">
		<h:outputText value="Imie i nazwisko" />
		<h:outputText value="#{studentBean.student.name}" />
		<h:outputText value="Grupa projektowa" />
		<h:outputText value="#{studentBean.student.projectGrp.groupName}" />
		<h:outputText value="Nr indeksu" rendered="#{currentUser.teacher}" />
		<h:outputText value="#{studentBean.student.indexNumber}" rendered="#{currentUser.teacher}" />
		<h:outputText value="Adres e-mail" />
		<h:outputText value="#{studentBean.student.email}" />
	</h:panelGrid>
	<h:commandButton value="Powrot" action="nav_student_list" />
</h:form>